body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: none;
}
a {
    text-decoration: none;
    font-size: 14px;
    color: #aaa;
    // -webkit-tap-highlight-color: transparent;
}

//==========布局样式==========
//以 375px 为基准

// 版本信息
.suspension-box {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    .game-info {
        height: 13.0667vw;
        background: url(../images/2.5.0.png) no-repeat;
        background-size: 100vw auto;
        .to-main {
            width: 66.2267vw;
            height: 100%;
            cursor: pointer;
        }
    }
}
.header {
    // width: 100%;
    .poster {
        position: relative;
        height: 177.8667vw;
        background: url(../images/YaeMiko.jpg) no-repeat;
        background-size: 100vw auto;
        .big-title {
            position: absolute;
            z-index: 10;
            width: 82.9333vw;
            height: 82.2667vw;
            right: 0;
            bottom: 0;
        }
        .more {
            display: flex;
            position: absolute;
            z-index: 10;
            right: 16.7vw;
            bottom: 1.1vw;
            flex-flow: column;
            align-items: center;
            .img1 {
                width: 7.3333vw;
                height: 12vw;
            }
            .download {
                width: 8.6667vw;
                height: 25.8667vw;
                a {
                    display: block;
                    width: 100%;
                    height: 100%;
                    background: url(../images/download.png) no-repeat;
                    background-size: 100% auto;
                }
            }
            .img2 {
                width: 8.6667vw;
                height: 25.8667vw;
                cursor: pointer;
            }
            .img3 {
                width: 13.7333vw;
                height: 13.7333vw;
                margin-top: -0.9333vw;
                cursor: pointer;
            }
        }
        .show-pv {
            position: absolute;
            z-index: 10;
            right: 30.9333vw;
            bottom: 48.4vw;
            width: 13.6vw;
            height: 13.6vw;
            cursor: pointer;
            img {
                width: 100%;
            }
        }
        .age-tips {
            position: absolute;
            z-index: 10;
            left: 1.5067vw;
            bottom: 4.0867vw;
            width: 11.7333vw;
            height: 15.4667vw;
            cursor: pointer;
        }
        .other-msg {
            position: absolute;
            z-index: 10;
            left: 19.2333vw;
            bottom: 4.06vw;
            a {
                font-size: 3.2vw;
                color: rgb(192, 233, 255);
                text-decoration: underline;
            }
        }
    }
}
.content {
    position: relative;
    height: 612.341vw;
    background: url(../images/content.png) no-repeat;
    background-size: 100% 100%;
    margin-top: -66.5333vw;
    // 角色情报
    .characte-box {
        position: absolute;
        top: 174.2667vw;
        width: 100vw;
        height: 129.4133vw;
        cursor: pointer;
        //swiper
        .swiper {
            width: 100%;
            height: 100%;
          }
    
          .swiper-slide {
            background-position: center;
            background-size: cover;
          }
    
          .swiper-slide img {
            display: block;
            // width: 100%;
          }
        //   自定义分页器
          .characte-bullet {
            display: inline-block;
            position: absolute;
            width: 14.2667vw;
            height: 14.2667vw;
            cursor: pointer;
            // 八重神子
            &:nth-child(1) {
                bottom: 15.2079vw;
                right: 32.8vw;
                background: url(../images/YaeMiko_mini_pic_0.png) no-repeat;
                background-size: 100% auto;
            }
            // 雷电将军
            &:nth-child(2) {
                bottom: 21.5545vw;
                right: 16.0533vw;
                background: url(../images/RaidenShogun_mini_pic_0.png) no-repeat;
                background-size: 100% auto;
            }
            // 珊瑚宫心海
            &:nth-child(3) {
                bottom: 33.3679vw;
                right: 2.64vw;
                background: url(../images/KokoMi_mini_pic_0.png) no-repeat;
                background-size: 100% auto;
            }
          }
          .characte-bullet-active {
              &:nth-child(1) {
                  background: url(../images/YaeMiko_mini_pic_1.png) no-repeat;
                  background-size: 100% auto;
              }
              &:nth-child(2) {
                  background: url(../images/RaidenShogun_mini_pic_1.png) no-repeat;
                  background-size: 100% auto;
              }
              &:nth-child(3) {
                background: url(../images/KokoMi_mini_pic_1.png) no-repeat;
                background-size: 100% auto;
              }
          }
        .characte-pic {
            position: absolute;
            top: 2.12vw;
            width: 100vw;
        }
        .characte-info {
            position: absolute;
            top: 54vw;
            left: 2vw;
            width: 51.0667vw;
            height: 63.7333vw;
        }
        .chinese-cv {
            position: absolute;
            top: 97.08vw;
            left: 8.1333vw;
            width: 38.9333vw;
            height: 6.2667vw;
            cursor: pointer;
            img {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                &:nth-child(2) {
                    opacity: 0;
                    &:hover {
                    opacity: 1;
                    }
                }
            }
        }
        .japanese-cv {
            position: absolute;
            top: 104.68vw;
            left: 8.1333vw;
            width: 38.9333vw;
            height: 6.2667vw;
            cursor: pointer;
            img {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                &:nth-child(2) {
                    opacity: 0;
                    &:hover {
                    opacity: 1;
                    }
                }
            }
        }
        .characte-show {
            position: absolute;
            top: 12.2667vw;
            right: 11.7333vw;
            width: 15.4667vw;
            height: 15.4667vw;
            cursor: pointer;
        }
    }
    //最新怪物
    .new-monster {
        display: flex;
        position: absolute;
        flex-flow: column;
        align-items: center;
        top: 320.9333vw;
        left: 50%;
        transform: translateX(-50%);
        width: 96.8vw;
        height: 70.32vw;
        //swiper
        .swiper {
            width: 100%;
            height: 100%;
          }
    
          .swiper-slide {
            text-align: center;
            font-size: 18px;
    
            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
          }
    
          .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        .monster-info {
            .monster-info-box{
                display: flex;
                position: absolute;
                flex-flow: column;
                align-items: center;
                top: 0;
                transform: translateX(-50%);
                .video-box {
                    width: 91.2vw;
                    height: 53.7333vw;
                    text-align: center;
                    line-height: 53.7333vw;
                    background: url(../images/video_border.png) no-repeat;
                    background-size: 100% auto;
                    video {
                        width: 87.0667vw;
                        height: 49.7333vw;
                        margin-top: 2.1333vw;
                    }
                }
                img {
                    position: absolute;
                    bottom: -13.0333vw;
                    &.monster-1-img {
                        width: 90.6667vw;
                        height: 10.2667vw;
                    }
                    &.monster-2-img {
                        width: 26.5333vw;
                        height: 10.1333vw;
                    }
                }
            }   
        }
        .left-right-move {
            position: absolute;
            bottom: -1.4667vw;
            width: 35.6vw;
            height: 3.0667vw;
        }
    }
    // 版本活动
    .version-activity {
        display: flex;
        position: absolute;
        top: 416.8vw;
        left: 50%;
        transform: translateX(-50%);
        width: 94vw;
        height: 70vw;
        .activity-title {
            cursor: pointer;
            img {
                width: 12.5333vw;
                height: 65.8667vw;
            }
        }
        div[class^="activity-con"] {
            height: 65.8667vw;
            transition: width .05s ease-in;
        }
        .activity-con-1 {
            width: 56.4vw;
            background: url(../images/activity-con-1.png) no-repeat;
            background-size: 56.4vw 65.8667vw;
        }
        .activity-con-2 {
            background: url(../images/activity-con-2.png) no-repeat;
            background-size: 56.4vw 65.8667vw;
        }
        .activity-con-3 {
            background: url(../images/activity-con-3.png) no-repeat;
            background-size: 56.4vw 65.8667vw;
        }
    }
    //游戏特色
    .game-special {
        position: absolute;
        bottom: 30.5333vw;
        left: 50%;
        transform: translateX(-50%);
        width: 95.8667vw;
        height: 72.9333vw;
        // swipter
        .swiper {
            width: 100%;
            height: 100%;
          }
    
          .swiper-slide {
              width: 100% !important;
            text-align: center;
            font-size: 18px;
    
            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
          }
    
          .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
          .swiper-pagination {
              bottom: -5.3333vw;
          }
          .game-special-bullet {
            display: inline-block;
            width: 2.5333vw;
            height: 2.5333vw;
            margin: 0 0.4vw;
            background: url(../images/bullet-0.png) no-repeat;
            background-size: 100% auto;
            cursor: pointer;
          }
          .game-special-bullet-active {
            background: url(../images/bullet-1.png) no-repeat;
            background-size: 100% auto;
          }
    }
    // 关注
    .follow {
        display: flex;
        position: absolute;
        justify-content: center;
        left: 0;
        bottom: 2.2667vw;
        width: 100vw;
        span {
            width: 5.0933vw;
        }
        div {
            flex: 1;
            margin: 0 -1.3733vw;
            img {
                width: 100%;
                cursor: pointer;
            }
        }
    }
}
// 底部模块
.footer {
    .footer-con {
        padding: 20px 24px 30px;
        font-size: 12px;
        background-color: #000;
        .footer-logo {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 10px;
            .mihoyo {
                width: 85px;
                img {
                    width: 100%;
                }
            }
            span {
                width: 1px;
                height: 30px;
                background-color: #666;
                margin: 0 20px;
            }
            .genshin {
                margin: 0;
                width: 80px;
                margin-left: 5px;
                img {
                    width: 100%;
                }
            }
        }
        .footer-info {
            display: flex;
            flex-flow: column;
            align-items: center;
            color: #aaa;
            line-height: 24px;
            a {
                &:hover {
                    text-decoration: underline;
                }
            }
            .footer-filing {
                display: flex;
                flex-flow: column;
                align-items: center;
                margin-bottom: 10px;
                a {
                    padding: 3px 0;
                    font-size: 12px;
                }
                span {
                    padding: 3px 0;
                }
            }
        }
    }
}
